{% extends 'base_authed.html' %}

{% block title %}编辑个人照片{% endblock %}
{% block js %}{% endblock %}

{% block content %}
<div>
	<h1>编辑个人照片</h1>
	
	<div>
		<h2>当前头像</h2>
		<img src="{{ user.get_profile.get_big_logo }}" />
	</div>
	
	<hr />
	
	<div>
		<h2>上传头像</h2>
		<span>您可以上传JPG、GIF或PNG格式的文件。</span>
		<form enctype="multipart/form-data" method="post" action="/accounts/editpicture/">
			<table>
				{{ form.as_table }}
				<th></th>
				<td><input type="submit" value="上传图片" /></td>
			</table>
		</form>
	</div>
</div>
{% endblock %}